package com.zyh.service;

import com.zyh.entity.Authority;
import com.zyh.entity.User;

import java.util.List;

public interface AuthorityService {

    public List<Authority> selectAuthority(Authority authority);

    public Integer updateAuthorityWithId(Authority  authority);

    public Authority selectAuthorityByid(Integer id);

    public Integer addAuthority(Authority authority);

    public Integer DeleteAuthorityByids(Integer[] id);

    public Integer countAuthority(Authority authority);

    public List<Authority> selectAuthorityBywhere(Authority authority);
}
